package com.yunxi.sys.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class RoleVO implements java.io.Serializable {
    private String roleId;
    private String roleCode;
    private String roleName;
    private String orgId;
    private Integer status;

    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date createTime;

    private String createBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    private String updateBy;

    private String domainId;

    private Integer isAdd = 0;
    private Integer isEdit = 0;
    private Integer isDel = 0;
    private Integer isCheck = 0;
    private Integer isFind = 0;
    private Integer isExp = 0;
    private Integer isImp = 0;
    private Integer isSelect = 0;

    @ApiModelProperty(value = "销售售后类型区分;1.pms; 2.ups")
    private String tenantId;
}